package com.springboot.demo.threadpool;

import javax.print.attribute.HashAttributeSet;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;

public class ForkJoinTest {



    static class TreeNode {

        int value;

        Set<TreeNode> children;

        TreeNode(int value, TreeNode... children) {
            this.value = value;
            this.children = new HashSet<>(Arrays.asList(children));
        }
    }
}
